import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import mavonEditor from 'mavon-editor'
import axios from 'axios'
import './axios'

import 'element-ui/lib/theme-chalk/index.css';
import 'mavon-editor/dist/css/index.css'
import 'github-markdown-css/github-markdown.css' // 然后添加样式markdown-body
// 导入路由拦截
import './permission'

// use
Vue.use(mavonEditor)
Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
